Pass Class
Description:
A class for creating Pass objects.
__call
Type: Metamethod.
Description:
A metamethod that allows you to create a new Pass object.
Signature:
metamethod __call: function(self: PassClass, vertShader: string, fragShader: string): Pass
Parameters:
Parameter | Type | Description |
---|---|---|
vertShader | string | The vertex shader in binary form file string. |
fragShader | string | The fragment shader file string.A shader file string must be one of the formats: "builtin:" + theBuiltinShaderName "Shader/compiled_shader_file.bin" |
Returns:
Return Type | Description |
---|---|
Pass | A new Pass object. |